Concurrent requirements engineering with a UML subset based on component schema relationships
نویسنده
چکیده
Classes The property isAbstract indicates that a given class specification cannot be instantiated directly. This construct mainly introduces a uniform treatment of related real-world things in problem analysis. According to our modelling experience, this adornment is often used when similar structural as well as behavioural features of classes are combined into a generalisation. The specialised classes directly represent real-world things in the application domain, while the generalisation expresses the similarity between them. It does not lead to instances of their own right, since there is no direct counterpart in reality. However, building abstract classes can be considered as design-related, since code sharing is the central concern for this activity. On the other hand, introducing abstract classes is one of the important assets of problem analysis. From an analysis perspective, concepts previously considered as independent will then be related to each other. Although this construct has a considerable significance in design, it is equally valid in problem analysis and therefore will be incorporated in component schemas. According to the Notation Guide [OMG97b], class names written in italics distinguish abstract classes from concrete ones. Aggregation versus Composition Unlike Generalization, the metamodel does not contain a direct counterpart for aggregation, i.e. a metaclass called aggregation. Furthermore, UML distinguishes in between two different forms of aggregation: aggregation and composition. While aggregation does not impose constraints on the life-time between whole and part, composition relationships express a coinciding life-time of both whole and part. In other words, parts in a composition have to be destroyed when the life-time of the whole ends. Furthermore, parts in a composition must not be shared, i.e. an instance of a part may not participate in several aggregates. Concrete life-time considerations with respect to whole and parts have to be ignored in requirements engineering. Composition in the Metamodel As mentioned above UML does not feature compositions as individual metaclasses. Furthermore, compositions are defined as adornments of metaclass AssociationEnd in terms of the property aggregation. The semantic document states: “When placed on a target end, specifies whether the target end is an aggregation with respect to the source end. Only one end can be an aggregation.” [OMG97a, p. 18] Figure 29 Different Notations for Compositions in UML However, this essential consistency constraint has not been covered in the wellformedness rules! This and other deficiencies have been discussed in detail in Ute Schirmer’s diploma thesis [Schi98]. Generally speaking, n-ary relationships and compositions are only distinguished by adornments on the AssociationEnds. Composition, like associations, may carry a unique name. The Notation Guide presents the following example for alternate visualisation of compositions with role Window Window Slider Header Panel scrollbar title body 2 1 1 scrollbar [2] : Slider title : Header body : Panel
منابع مشابه
Pre-conceptual Schema: A Conceptual-Graph-Like Knowledge Representation for Requirements Elicitation
A simple representation framework for ontological knowledge with dynamic and deontic characteristics is presented. It represents structural relationships (is-a, part/whole), dynamic relationships (actions such as register, pay, etc.), and conditional relationships (if-then-else). As a case study, we apply our representation language to the task of requirements elicitation in software engineerin...
متن کاملRegular paper AMethodologicalApproach forObject-RelationalDatabase Design usingUML
Themost common way of designing databases is by means of a conceptual model, such as E/R, without taking into account other views of the system. New object-oriented design languages, such as UML (Unified Modelling Language), allow the whole system, including the database schema, to be modelled in a uniform way. Moreover, as UML is an extendable language, it allows for any necessary introduction...
متن کاملThe Institute for Systems Research System Modeling and Traceability Applications of the Higraph Formalism System Modeling and Traceability Applications of the Higraph Formalism System Modeling and Traceability Applications of the Higraph Formalism
This report examines the use of higraphs as a means of representing dependencies and relationships among multiple aspects of system development models (e.g., requirements, hardware, software, testing concerns). We show how some well-known diagram types in UML have counterpart higraph representations, how these models incorporate hierarchy and orthogonality, and how each model can be connected t...
متن کاملSystem modeling and traceability applications of the higraph formalism
This report examines the use of higraphs as a means of representing dependencies and relationships among multiple aspects of system development models (e.g., requirements, hardware, software, testing concerns). We show how some well-known diagram types in UML have counterpart higraph representations, how these models incorporate hierarchy and orthogonality, and how each model can be connected t...
متن کاملSemantic Integration of Business Component Specifications with RDF Schema
Semantic Web technologies provide the means for supporting component-based development (CBD) of enterprise applications. This paper builds upon selected component specification proposals for imposing a semantic layer which is used to integrate heterogeneous component specification resources. Most of today’s component development methods and specification proposals do not elaborate on how the co...
متن کامل